﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace FileNameCheck
{
    public class CheckFTPFiles
    {
        public static void GetFiles()
        {
            DirectoryInfo di = new DirectoryInfo(@"W:\");
            DirectoryInfo[] dis = di.GetDirectories();
            Console.WriteLine(dis.Length);
        }
    }
}
